﻿@* @model ZR.CodeGenerator.Model.GenerateDto; *@
@{
    var genTable = Model.GenTable;
    var isHasEnableStateField=genTable.Options.IsHasEnableStateField;
    var subTableOptions = Model.SubTableOptions;
    var genOptions = Model.GenOptions;
    var replaceDto = Model.ReplaceDto;
}

using Infrastructure.Extensions;
using @(genOptions.ModelsNamespace).Enums;
@if (genTable.TplCategory.Contains("subNav") && genTable.SubTable != null)
{
    @:using @(subTableOptions.ModelsNamespace).@(subTableOptions.SubNamespace);
}

namespace @(genOptions.ModelsNamespace).@(genOptions.SubNamespace).Entity
{
    /// <summary>
    /// @(genTable.FunctionName)
    /// </summary>
    [SugarTable("@(genTable.TableName)")]
    public class @(genTable.EntityClassName):@(genTable.EntityClassName)Base
    {

    }

}